import request from '@/utils/request'
/**
 * 查询学生的api接口
 * @param {*} params 
 * @returns 
 */
export function getStudentsApi(params){
    return request({
        url:'/students/getStudents',
        params
    })
}
/**
 * 增加学生api接口
 * @param {} data 
 * @returns 
 */
export function addStudentApi(data){
    return request({
        method:'POST',
        url:'/students/addStudents',
        data
    })
}